import { PieceType, PlayerType } from "../GameDefine"
const { ccclass, property } = cc._decorator

/** 棋子基类 */
@ccclass
export default class BasePiece extends cc.Component {
    /** 棋子位置 */
    initPos: cc.Vec3 = cc.v3(0, 0);
    /** 棋子类型 */
    pieceType: PieceType = null;
    /** 执棋者 */
    playerType: PlayerType = null;

    onLoad() { }

    init() {
        this.node.setPosition(this.initPos)
    }
}
